const Api = {
	// 商品图片上传
    getGoodsUpload: {
        method: 'post',
        url: 'goods/upload'
    },
    // 商品列表
    getGoodsList: {
        method: 'post',
        url: 'goods/list'
    },
    // 商品详情
    getGoodsDetails: {
        method: 'post',
        url: 'goods/details'
    },
    // (添加/编辑)商品
    getGoodsAddRedact: {
        method: 'post',
        url: 'goods/add_redact'
    },
    // 删除商品
    getGoodsDel: {
        method: 'post',
        url: 'goods/del'
    },
    // 品牌列表
    getBrandList: {
        method: 'post',
        url: '/brand/list'
    },
    // (添加/编辑)品牌
    getAddRedactBrand: {
        method: 'post',
        url: '/brand/add_redact'
    },
    // 删除品牌
    getDelBrand: {
        method: 'post',
        url: '/brand/del'
    },
    // 品牌详情
    getBrandDetails: {
        method: 'post',
        url: '/brand/details'
    },
    // 分类列表
    getCategoryList: {
        method: 'post',
        url: '/category/list'
    },
    // (添加/编辑)分类
    getAddRedactCategory: {
        method: 'post',
        url: '/category/add_redact'
    },
    // 删除分类
    getDelCategory: {
        method: 'post',
        url: '/category/del'
    },
    // 分类详情
    getCategoryDetails: {
        method: 'post',
        url: '/category/details'
    },
    // 广告列表
    getAdverList: {
        method: 'post',
        url: '/adver/list'
    },
    // 广告(添加/编辑)
    getAdverAddRedact: {
        method: 'post',
        url: '/adver/add_redact'
    },
    // 广告详情
    getAdverDetails: {
        method: 'post',
        url: '/adver/details'
    },
    // 广告删除
    getAdverDel: {
        method: 'post',
        url: '/adver/del'
    },
    // 查询目录
    getListMkdir: {
        method: 'get',
        url: '/upload/list_mkdir'
    },
    // 添加目录
    getAddMkdir: {
        method: 'post',
        url: '/upload/add_mkdir'
    },
    // 删除目录
    getDelMkdir: {
        method: 'post',
        url: '/upload/del_mkdir'
    },
    // 移动目录
    getMoveMkdir: {
        method: 'post',
        url: '/upload/move_mkdir'
    },
    // 查询图片
    getImgsList: {
        method: 'post',
        url: '/upload/imgs_list'
    },
    // 删除图片
    getDelImgs: {
        method: 'post',
        url: '/upload/del_imgs'
    }
}

export default Api